package com.jjh.mapper;

import com.jjh.pojo.Flavour;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FlavourMapper {
    List<Flavour> getAll();

    int insertOne(Flavour flavour);

    Flavour getByName(String flavourName);

    int updateById(Flavour flavour);

    int deleteByIds(List<Integer> ids);
}
